import request from '@/utils/request'

// 查询盘点表详细信息
export function selCostByOpti(purpose, department, year, month) {
  return request({
    url: '/checkReport/cost/getcost',
    method: 'post',
    params: {
      purpose: purpose,
      department: department,
      year: year,
      month: month
    }
  })
}

// 查询所有部门名称
export function selAllDepName() {
  return request({
    url: '/departmentManage/selectAll',
    method: 'get'
  })
}
